#在一行中不断刷新转圈

import time
count_down = 10
interval = 0.25
for i in range(0, int(count_down/interval)):
    ch_list=["\\","|","/","-"]
    index = i % 4
    msg = "\r程序运行中 " + ch_list[index]
    print(msg, end="")
    time.sleep(interval)
print(u"\n结束" + "  "*len(msg))